home *** CD-ROM | disk | FTP | other *** search
- /*
- File: HalfGateway.cp
-
- Contains: xxx put contents here xxx
-
- Written by: Tim Harnett
-
- Copyright: © 1994 by Apple Computer, Inc., all rights reserved.
-
- Change History (most recent first):
-
- <2> 2/15/95 TMH added GetSlot(slotCID)
- <1> 9/20/94 TMH Abandon RoadsideRest embrace Mercury
- 3/29/94 TMH xxx put comment here xxx
-
- To Do:
- */
-
-
- #ifndef __HalfGateway__
- #define __HalfGateway__
-
- #ifndef __OCE__
- #include <OCE.h>
- #endif
-
- #ifndef __OCEMAIL__
- #include <OCEMail.h>
- #endif
-
- class TMSAMSlot;
- class TLetter;
- struct FGSlotInfoRec;
-
- const long kMaxSlots = 4;
-
- //--------------------------------------
- // T A O C E H a l f G a t e w a y
- //--------------------------------------
-
-
- class TAOCEHalfGateway {
- public:
- TAOCEHalfGateway();
-
-
- // Slot Managment
-
- OSErr SetupSlots(CreationID msamRecordCID);
- static pascal OSErr BuildSlotListCallBack(long clientData, const AttributePtr attrValue);
-
- TMSAMSlot* FocSlot(CreationID msamRecordCID);
- void AddSlot(TMSAMSlot* msamSlot);
- TMSAMSlot* GetSlot(short slotID);
- TMSAMSlot* GetSlot(CreationID slotRecordCID);
-
- private:
-
- CRecordID* fMSAMRecord;
- short fNumberOfSlots;
- TMSAMSlot* fSlotList[kMaxSlots];
- };
-
-
-
- #endif __HalfGateway__
-
-